package com.huishu.commons.pojo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @ClassName：BaseUpdateDTO
 * @Author: ljj
 * @Date: 2022/7/1 17:46
 */
@Data
public class BaseUpdateDTO {

    /**
     * id
     */
    @NotNull(message = "{id.not-blank}")
    private Long id;

    /**
     * 修改时间
     */
    private Date updatedDate = new Date();
}
